﻿@{ var jobs = AfrikDotnetWebSite.Helpers.JobHelper.GetJobs(); }
@if (jobs != null && jobs.Count() > 0)
{
    <div class="box-content">
        <div>
            <ul>
                @foreach (var job in jobs)
                {
                    <li>@job.Title</li>
                }
            </ul>
        </div>            
        <div class="box-footer">
            <a href="@Url.Action("Index", "jobs")">» View all jobs</a>
        </div>
    </div>
}
else { 
    <div class="box-content">
        There are no open jobs at this time.
    </div>
}
